import 'package:flutter_bloc/flutter_bloc.dart';

class IntCubit extends Cubit<int> {
  IntCubit({int value = 0}) : super(value);

  set value(int value) {
    emit(value);
  }
}

class DoubleCubit extends Cubit<double> {
  DoubleCubit({double value = 0}) : super(value);

  set value(double value) {
    emit(value);
  }
}

class StringCubit extends Cubit<String> {
  StringCubit({String value = ""}) : super(value);

  set value(String value) {
    emit(value);
  }
}

class BooleanCubit extends Cubit<bool> {
  BooleanCubit({bool value = false}) : super(value);

  set value(bool value) {
    emit(value);
  }
}
